package com.j3a.journal.beanservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.j3a.journal.beandao.IJournalDao;
import com.j3a.journal.generic.IDaoGeneric;
import com.j3a.journal.generic.ServiceGeneric;
import com.j3a.journal.model.Journal;

@Service( "journalService" )
public class JournalService extends ServiceGeneric<Journal, String> implements
        IJournalService {
    @Autowired
    private transient IJournalDao journalDao;

    public JournalService() {

    }

    @Override
    public IDaoGeneric<Journal, String> getDAO() {
        // TODO Auto-generated method stub
        return this.journalDao;
    }

}
